const crypto = require('crypto');

const md5 = (secret) => crypto.createHash('md5').update(secret).digest("hex");

module.exports = md5;
